You're free to collect some git commands from the Web, sort it out.1. Common git commands
Command
Brief Description
Special Notes
git add
Add to Staging Area
Git add–interactive
-------git installation-------1.linux Installing Gitsudo apt-get install git older: sudo apt-get install Git-core 2.maxOS Installing GitBrew Install Git 3.windows Installing GitMsysgit is a Windows version of Git, downloaded from
Read the Liaoche to write tutorials, down to the end, took three days to learn, do a study note itAbout GitLinus created Linux to facilitate the management of Linux code, the use of C wrote this distributed version control system. The GitHub site
$ git init//Initialize a git repository$ git status//view the status of the warehouse
$ git Add. Add all modifications to staging area
$ git add *//Ant style Additions modified
$ git Add *controller//Add all modifications of files ending with
Source: Tu genhua's blog welcomes original articles to bole headlines
I. What is git?
Git is currently the most advanced distributed version control system in the world.
Ii. What is the main difference between SVN and git?
SVN is a centralized
I first published and summed up the things I learned, there are bad places please point out
one, git upload item (install git)
There are two ways git uploads a project: An HTTPS method, an SSH method
HTTPS method:
1, first login github.com
1. Install Git for Windows First install git for Windows recommended this: http://msysgit.github.io/ you can right-click a git command-line window with the corresponding path in any directory--git bash and start up faster settings--version
How to use Git on Windows.First step: Register your GitHub account.Sign up for your GitHub account and create a resource warehouse core.Step two: Install Git.To install git, I'm using the git version of Git-1.9.5-preview20150319.exe,git after
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.